package com.iweb.springboot_demo1.pojo;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

@Data
@Table("stu")
public class Student {
        @Id(keyType = KeyType.Auto)
        private Long id;
        @Column("userName")
        private String userName;
        @Column("age")
        private Integer age;
        @Column(value = "is_active", isLogicDelete = true)
        private Boolean is_active;

}
